package org.springframework.test.study.service.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.test.study.service.IOCService;
import org.springframework.test.study.service.IOCServiceImpl;

@EnableAspectJAutoProxy
@Configuration
@ComponentScan(basePackages = "org.springframework.test.study.service.config")
public class AnnotationConfig {
	@Bean
	public IOCService iocService() {
		return new IOCServiceImpl();
	}
}